﻿<%@ Page Title="类别信息" Language="C#" AutoEventWireup="true" MasterPageFile="~/Master/MasterPage_New.master" CodeBehind="SortCurrentGoodsList.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.ReportSort.SortCurrentGoodsList" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="~/Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="tabnav">
        <ul>
            <li>
                <a href="#" >类别</a>
            </li>
        </ul>
    </div>
    <asp:GridView ID="gvwSortInfo" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无有效的信息！" onrowcreated="gvwSortInfo_RowCreated" 
        onrowcommand="gvwSortInfo_RowCommand">
        
        <Columns>
            <asp:BoundField HeaderText="类别" DataField="SortName" />
            <asp:TemplateField HeaderText="采购类型">
                <ItemTemplate>
                    <%#HZ.Supervise.Web.Function.FormatDrugSource(Eval("SortSource"))%>
                </ItemTemplate>
                <HeaderStyle Width="60px" />
            </asp:TemplateField>
            <asp:BoundField HeaderText="采购总数量" DataField="PurchaseCountTotal" />
            <asp:BoundField HeaderText="采购总金额" DataField="PurchaseAmountTotal"/>
            <asp:BoundField HeaderText="入库总数量" DataField="WareHouseCountTotal"/>
            <asp:BoundField HeaderText="入库总金额" DataField="WareHouseAmountTotal"/>
            <asp:TemplateField HeaderText="操作">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:LinkButton ID="lbnDetail" runat="server" CommandName="DirectByDetail"  CommandArgument='<%# Eval("SortName")%>' >详情</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    &nbsp;统计: <asp:Label ID="lblCount" runat="server"></asp:Label>
</asp:Content>


